package com.hs.jhzd.entity;

import javax.persistence.*;
import java.sql.Date;
import java.util.Objects;

/**
 * @author guoxc
 * @date 2019/03/01
 **/
@Entity
@Table(name = "yl_snjyxxb")
public class YlSnjyxxbEntity {
    private String zybh;
    private String rybh;
    private String xm;
    private String jsh;
    private String xb;
    private String jsbh;
    private String jsmc;
    private Date zlrq;
    private String byzz;
    private String zdzt;
    private String zlcs;
    private String zlxg;
    private String zlys;
    private String bz;
    private String gms;
    private Byte sffy;
    private Date sjc;
    private Byte scbj;
    private Date cjsj;
    private String cjr;

    @Id
    @Column(name = "ZYBH")
    public String getZybh() {
        return zybh;
    }

    public void setZybh(String zybh) {
        this.zybh = zybh;
    }

    @Basic
    @Column(name = "RYBH")
    public String getRybh() {
        return rybh;
    }

    public void setRybh(String rybh) {
        this.rybh = rybh;
    }

    @Basic
    @Column(name = "XM")
    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    @Basic
    @Column(name = "JSH")
    public String getJsh() {
        return jsh;
    }

    public void setJsh(String jsh) {
        this.jsh = jsh;
    }

    @Basic
    @Column(name = "XB")
    public String getXb() {
        return xb;
    }

    public void setXb(String xb) {
        this.xb = xb;
    }

    @Basic
    @Column(name = "JSBH")
    public String getJsbh() {
        return jsbh;
    }

    public void setJsbh(String jsbh) {
        this.jsbh = jsbh;
    }

    @Basic
    @Column(name = "JSMC")
    public String getJsmc() {
        return jsmc;
    }

    public void setJsmc(String jsmc) {
        this.jsmc = jsmc;
    }

    @Basic
    @Column(name = "ZLRQ")
    public Date getZlrq() {
        return zlrq;
    }

    public void setZlrq(Date zlrq) {
        this.zlrq = zlrq;
    }

    @Basic
    @Column(name = "BYZZ")
    public String getByzz() {
        return byzz;
    }

    public void setByzz(String byzz) {
        this.byzz = byzz;
    }

    @Basic
    @Column(name = "ZDZT")
    public String getZdzt() {
        return zdzt;
    }

    public void setZdzt(String zdzt) {
        this.zdzt = zdzt;
    }

    @Basic
    @Column(name = "ZLCS")
    public String getZlcs() {
        return zlcs;
    }

    public void setZlcs(String zlcs) {
        this.zlcs = zlcs;
    }

    @Basic
    @Column(name = "ZLXG")
    public String getZlxg() {
        return zlxg;
    }

    public void setZlxg(String zlxg) {
        this.zlxg = zlxg;
    }

    @Basic
    @Column(name = "ZLYS")
    public String getZlys() {
        return zlys;
    }

    public void setZlys(String zlys) {
        this.zlys = zlys;
    }

    @Basic
    @Column(name = "BZ")
    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    @Basic
    @Column(name = "GMS")
    public String getGms() {
        return gms;
    }

    public void setGms(String gms) {
        this.gms = gms;
    }

    @Basic
    @Column(name = "SFFY")
    public Byte getSffy() {
        return sffy;
    }

    public void setSffy(Byte sffy) {
        this.sffy = sffy;
    }

    @Basic
    @Column(name = "SJC")
    public Date getSjc() {
        return sjc;
    }

    public void setSjc(Date sjc) {
        this.sjc = sjc;
    }

    @Basic
    @Column(name = "SCBJ")
    public Byte getScbj() {
        return scbj;
    }

    public void setScbj(Byte scbj) {
        this.scbj = scbj;
    }

    @Basic
    @Column(name = "CJSJ")
    public Date getCjsj() {
        return cjsj;
    }

    public void setCjsj(Date cjsj) {
        this.cjsj = cjsj;
    }

    @Basic
    @Column(name = "CJR")
    public String getCjr() {
        return cjr;
    }

    public void setCjr(String cjr) {
        this.cjr = cjr;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        YlSnjyxxbEntity that = (YlSnjyxxbEntity) o;
        return Objects.equals(zybh, that.zybh) &&
                Objects.equals(rybh, that.rybh) &&
                Objects.equals(xm, that.xm) &&
                Objects.equals(jsh, that.jsh) &&
                Objects.equals(xb, that.xb) &&
                Objects.equals(jsbh, that.jsbh) &&
                Objects.equals(jsmc, that.jsmc) &&
                Objects.equals(zlrq, that.zlrq) &&
                Objects.equals(byzz, that.byzz) &&
                Objects.equals(zdzt, that.zdzt) &&
                Objects.equals(zlcs, that.zlcs) &&
                Objects.equals(zlxg, that.zlxg) &&
                Objects.equals(zlys, that.zlys) &&
                Objects.equals(bz, that.bz) &&
                Objects.equals(gms, that.gms) &&
                Objects.equals(sffy, that.sffy) &&
                Objects.equals(sjc, that.sjc) &&
                Objects.equals(scbj, that.scbj) &&
                Objects.equals(cjsj, that.cjsj) &&
                Objects.equals(cjr, that.cjr);
    }

    @Override
    public int hashCode() {
        return Objects.hash(zybh, rybh, xm, jsh, xb, jsbh, jsmc, zlrq, byzz, zdzt, zlcs, zlxg, zlys, bz, gms, sffy, sjc, scbj, cjsj, cjr);
    }
}
